#ifndef _MODULE_H_
#define _MODULE_H_
#include "python3/PythonGrammar30TreeConstants.h"
#include "ast/modType.h"
#include "ast/stmtType.h"
class IVisitor;
class Module;
typedef QSharedPointer<Module> ModulePtr;

class Module: public modType
{
public:
    explicit Module(const StmtTypeList& body, int nodeId=JJTFILE_INPUT);
    virtual ~Module();
    
    
    StmtTypeList body();
    void setBody(const StmtTypeList& body);
    
    
    virtual QString type() const;
    virtual QString toString() const;
    virtual void accept(IVisitor* visitor, const SimpleNodePtr& node);
    virtual void traverse(IVisitor* visitor);
private:
    StmtTypeList _body;
};




#endif